function loadChildMenu(_this, url, panel) {
    $(_this).parent().children().removeClass('active');
    $(_this).addClass('active');
    if (url != '#')
        LC.goPage(url, panel);
}
$(document).ready(function (e) {
    $('.navuser').menu({position: {my: "left top", at: "left bottom"}});
    $('.footpanel').css({
        position: 'fixed',
        bottom: '0px',
        left: '0px'
    });
    $('.main').css({
        marginBottom: $('.footpanel').outerHeight() + 'px'
    });
    $(".login").dialog({
        autoOpen: false,
        bgiframe: true,
        dialogClass: 'login_close',
        closeOnEscape: false,
        hide: 'slide(100)',
        height: 250,
        modal: true,
        open: function (event, ui) {
            login.reset();
        },
        //position:["center","center"],
        title: "登录",
        show: 'slide(1000)',
        resizable: false,
        width: 400
    });
    $('.login').keyup(function (e) {
        if (e.keyCode == 13) {
            login.submit();
        }
    });
    login.url = '../' + login.url;
    login.captchaUrl = '../' + login.captchaUrl
    login.successCallback = function (rs) {
        $('.login').dialog('close');
        login.reset();
    }
});